﻿package com.wandian.util
{
	import flash.display.Sprite;

	/**
	 * 绘画矩形
	 * @author long
	 */
	public class GraphicsDraw extends Object
	{

		public function GraphicsDraw()
		{
			return;
		} // end function

		public static function drawRec(width:int, height:int):Sprite
		{
			var rect:Sprite=new Sprite();
			rect.graphics.beginFill(0);
			rect.graphics.lineStyle(1, 0);
			rect.graphics.drawRect(0, 0, width, height);
			rect.graphics.endFill();
			return rect;
		} // end function

	}
}
